package com.bright.cwduijie.duijie.repository;

import com.bright.cwduijie.duijie.pojo.po.DuijieVar;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface DuijieVarRepository extends JpaRepository<DuijieVar, Integer>, JpaSpecificationExecutor<DuijieVar> {

    Optional<DuijieVar> getByVarKey(String varKey);

}